home *** CD-ROM | disk | FTP | other *** search
/ Mission to McDonaldLand / Mission To McDonaldLand.iso / flight.dxr / 00043_Script_43 < prev    next >
Text File  |  1998-10-25  |  390b  |  15 lines

  1. on enterFrame me
  2.   global rave
  3.   if sprite the spritenum of me intersects sprite 30 then 
  4.     if rave > 0 then abort
  5.     set rave = the castnum of sprite the spritenum of me
  6.     set the member of sprite the spritenum of me = rave - 1
  7.     puppetSound 1, the castnum of sprite the spritenum of me - 2
  8.   end if
  9.   if soundBusy(1) = FALSE then 
  10.     set rave = 0  
  11.   end if
  12.   
  13. end
  14.  
  15.